Conditional standardized primary care referral